package com.one.group.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * {@code @Create:}  2025-09-28  12 : 53
 * {@code @Author:} Cherry
 * {@code @ToUser:} 凡是发生,皆有利于我。
 * ------------------------------------
 * {@code @note:}
 */
@Data
@Table("sp_role")
public class Role implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;

    private String name;

    private String description;

    @Column(tenantId = true)
    private Long tenantId;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;


}
